/* -------------------- */
/* Hero Section */
/* -------------------- */
.hero .container {
  display: flex;
  align-items: center;
  min-height: clamp(300px, 45vw, 520px);
  /* gap: 20px; */
}
.hero {
  padding-bottom: 20px !important;
}

/* ── Left — 60% ── */
.hero__left {
  position: relative;
  flex: 0 0 60%;
  width: 60%;
  height: clamp(300px, 42vw, 520px);
  margin-left: calc(-1 * var(--padding-x));
  opacity: 0;
  transform: translateX(-40px);
  animation: slideInLeft 0.8s cubic-bezier(0.22, 0.68, 0, 1.2) 0.1s forwards;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.hero__pet {
  position: absolute;
  bottom: -30px;
  left: 35%;
  transform: translateX(-50%);
  width: 100%;
  /* height: 95%; */
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
}

/* ── Right — 40% ── */
.hero__content {
  flex: 0 0 40%;
  width: 40%;
  /* min-width: 0; */
  padding-left: clamp(1rem, 2vw, 2rem);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s cubic-bezier(0.22, 0.68, 0, 1.2) 0.35s forwards;
}

.hero__title {
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  font-weight: 500;
  line-height: 1 !important;
  color: var(--color-text);
}
.hero__content p {
  font-size: 20px;
  margin-top: 10px;
}
.hero__title .hl {
  background: var(--color-accent);
  color: #fff;
  /* padding: 0.04em 0.2em; */
  padding: -15px 5px;
  /* border-radius: 3px; */
  display: inline;
  line-height: 1.5 !important;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    min-height: auto;
    gap: 1.5rem;
  }
  .hero__left,
  .hero__content {
    flex: none;
    width: 100%;
  }
  .hero__pet {
    bottom: -10px;
    left: 41%;
  }
  .hero__left {
    height: clamp(220px, 70vw, 380px);
    margin-left: calc(-1 * var(--padding-x));
    width: calc(100% + var(--padding-x));
  }
  .hero__content {
    padding-left: 14px;
    margin-top: 10px;
  }
  .hero__content p {
    font-size: 15px;
    line-height: 1.4;
  }
  /* .hero__title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  } */
}


/* -------------------- */
/* VIDEO SHOWCASE */
/* -------------------- */

.video-showcase-section {
  background: #f4f6ff;
  overflow: hidden;
}

.video-showcase-head {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.video-showcase-head span {
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.video-showcase-head h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1.08;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.video-showcase-head p {
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: #4f5f7a;
}

.video-showcase-box {
  position: relative;
  max-width: 1050px;
  margin-inline: auto;
  border-radius: clamp(1rem, 2.5vw, 1.5rem);
  overflow: hidden;
  background: #111827;
  box-shadow: 0 28px 80px rgba(0, 95, 168, 0.18);
}

.video-showcase-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  z-index: -1;
}

.showcase-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

/* -------------------- */
/* RESPONSIVE */
/* -------------------- */

@media (max-width: 520px) {
  .video-showcase-box {
    border-radius: 22px;
  }

  .showcase-video {
    aspect-ratio: 9 / 16;
  }
}

/* -------------------- */
/* JOURNEY SECTION */
/* -------------------- */

.journey-section {
  background: #f4f6ff;
  overflow: hidden;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

/* LEFT */

/* .journey-left h2 {
  max-width: 520px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: #111111;
  margin-bottom: clamp(2rem, 4vw, 3rem);
} */

.sub-span {
  /* display: inline-block; */
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.journey-left h2 {
  font-size: 42px;
  line-height: 1;
  /* color: var(--color-primary); */
  margin-bottom: 0.8rem;
}

.para {
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: #4f5f7a;
  margin-bottom: 1.5rem;
}

.journey-steps {
  position: relative;
  display: grid;
  gap: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 680px;
}

/* vertical line */
.journey-steps::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #d9e2f5;
}

.journey-step {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8e9f8;
  color: #5b7de3;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 18px rgba(0, 95, 168, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 700;
  transition: 0.3s ease;
}

.step-content strong {
  display: block;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  color: #111111;
  margin-bottom: 0.35rem;
  transition: 0.3s ease;
}

.step-content small {
  display: block;
  max-width: 520px;
  font-size: clamp(0.85rem, 1vw, 0.98rem);
  line-height: 1.55;
  color: #627089;
  transition: 0.3s ease;
}

/* active state */
.journey-step.active .step-number {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.journey-step.active .step-content strong {
  color: var(--color-primary);
}

.journey-step:hover .step-number {
  transform: scale(1.08);
}

/* RIGHT PHONE */

.journey-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  width: clamp(250px, 24vw, 370px);
  aspect-ratio: 9 / 18.5;
  background: #111827;
  border-radius: clamp(2rem, 3vw, 3rem);
  padding: clamp(0.7rem, 1vw, 0.9rem);
  box-shadow: 0 28px 60px rgba(0, 95, 168, 0.2);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: clamp(1.5rem, 2.3vw, 2.3rem);
  overflow: hidden;
}

/* changing logo top-left */
.phone-logo-wrap {
  position: absolute;
  top: clamp(1rem, 1.4vw, 1.4rem);
  right: clamp(1rem, 1.4vw, 1.4rem);
  z-index: 5;
  width: clamp(38px, 4vw, 54px);
  height: clamp(38px, 4vw, 54px);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 95, 168, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-step-logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.journey-phone-img {
  width: 100%;
  /* height: 50%; */
  object-fit: contain;
  animation: phoneFade 0.35s ease both;
}

@keyframes phoneFade {
  from {
    opacity: 0;
    transform: scale(1.03);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* -------------------- */
/* RESPONSIVE */
/* -------------------- */

@media (max-width: 900px) {
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .journey-left h2 {
    max-width: 100%;
    margin-bottom: 0.8rem;
  }

  .journey-right {
    order: 2;
  }

  .journey-left {
    order: 1;
  }

  .phone-frame {
    width: clamp(220px, 68vw, 320px);
  }
}

@media (max-width: 520px) {
  .journey-left h2 {
    font-size: 30px;
  }

  .journey-steps {
    gap: 2rem;
  }

  .journey-steps::before {
    left: 19px;
  }

  .journey-step {
    grid-template-columns: 40px 1fr;
    gap: 0.8rem;
  }

  .step-number {
    width: 38px;
    height: 38px;
    font-size: 0.78rem;
  }

  .step-content strong {
    font-size: 1rem;
  }

  .step-content small {
    font-size: 0.85rem;
  }

  .phone-frame {
    width: min(78vw, 280px);
  }
}


/* -------------------- */
/* CLIENT STORY SECTION */
/* -------------------- */

.client-story-section {
  background: #ffffff;
  overflow: hidden;
}

.client-story-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.client-story-head span {
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.client-story-head h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  color: #111827;
  margin-bottom: 1rem;
}

.client-story-head p {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: #4f5f7a;
  line-height: 1.6;
}

.client-story-slider {
  max-width: 980px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.client-story-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 95, 168, 0.14);
  aspect-ratio: 4 / 5;
  background: #eaf3ff;
}

.client-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: storyFade 0.45s ease both;
}

.client-story-content {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.client-story-content::before {
  content: "“";
  position: absolute;
  right: 0;
  top: -2.5rem;
  font-size: clamp(7rem, 15vw, 13rem);
  line-height: 1;
  color: rgba(0, 95, 168, 0.06);
  font-weight: 700;
  pointer-events: none;
}

.story-stars {
  display: flex;
  gap: 0.3rem;
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.client-story-content p {
  position: relative;
  z-index: 2;
  font-size: clamp(0.8rem, 1.8vw, 2rem);
  line-height: 1.35;
  color: #111827;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  animation: storyFade 0.45s ease both;
}

.story-user {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.story-user span {
  width: 4px;
  height: 48px;
  border-radius: 999px;
  background: var(--color-accent);
}

.story-user h4 {
  font-size: 1.05rem;
  color: #111827;
  margin-bottom: 0.2rem;
}

.story-user small {
  font-size: 0.85rem;
  color: #4f5f7a;
}

.story-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.story-arrows {
  display: flex;
  gap: 0.6rem;
}

.story-arrows button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.story-arrows button:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.story-dots {
  display: flex;
  gap: 0.45rem;
}

.story-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 95, 168, 0.22);
  transition: 0.3s ease;
}

.story-dots button.active {
  width: 28px;
  background: var(--color-primary);
}

@keyframes storyFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------- */
/* RESPONSIVE */
/* -------------------- */

@media (max-width: 900px) {
  .client-story-slider {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 1.8rem;
  }

  .client-story-image {
    max-width: 360px;
    width: 100%;
    margin-inline: auto;
  }

  .client-story-content {
    text-align: center;
    padding: 0;
  }

  .story-stars,
  .story-user,
  .story-controls {
    justify-content: center;
  }

  .story-user {
    flex-direction: column;
    gap: 0.5rem;
  }

  .story-user span {
    width: 42px;
    height: 4px;
  }

  .story-controls {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .client-story-content p {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }

  .client-story-image {
    max-width: 300px;
  }
}

/* -------------------- */
/* FAQ SECTION */
/* -------------------- */

.faq-section {
  background: #f4f6ff;
}

.faq-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.faq-heading span {
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.faq-heading h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.08;
  color: #111827;
  margin-bottom: 1rem;
}

.faq-heading p {
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  line-height: 1.6;
  color: #4f5f7a;
}

/* GRID */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

/* ITEM */

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(0, 95, 168, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 95, 168, 0.06);
  transition: 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
}

.faq-question i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 95, 168, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: #ffffff;
}

/* ANSWER */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 1.4rem 1.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4f5f7a;
}

/* ACTIVE */

.faq-item.active .faq-answer {
  max-height: 220px;
}

/* -------------------- */
/* MOBILE */
/* -------------------- */

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
